package com.example.transactiondemo.spring;

public class User {
    private Integer id;

    private String uname;

    private String gender;

    public User() {
    }

    public User(Integer id, String uname, String gender) {
        this.id = id;
        this.uname = uname;
        this.gender = gender;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", uname='" + uname + '\'' +
                ", gender='" + gender + '\'' +
                '}';
    }
}
